home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / S-Sh / ScriptView.cpt / ScriptView 1.4 / card_3814.txt < prev    next >
Text File  |  1989-12-02  |  5KB  |  134 lines

  1. -- card: 3814 from stack: in.4
  2. -- bmap block id: 4007
  3. -- flags: 4000
  4. -- background id: 2646
  5. -- name: top
  6.  
  7.  
  8. -- part 25 (button)
  9. -- low flags: 80
  10. -- high flags: 8003
  11. -- rect: left=356 top=279 right=301 bottom=399
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: OK
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   hide card field "noVerify"
  23.   hide button "OK"
  24. end mouseUp
  25.  
  26.  
  27.  
  28. -- part 39 (field)
  29. -- low flags: 81
  30. -- high flags: 2007
  31. -- rect: left=8 top=22 right=334 bottom=503
  32. -- title width / last selected line: 0
  33. -- icon id / first selected line: 0 / 0
  34. -- text alignment: 0
  35. -- font id: 21
  36. -- text size: 12
  37. -- style flags: 0
  38. -- line height: 16
  39. -- part name: Info
  40. ----- HyperTalk script -----
  41. on mouseUp
  42.   set scroll of card field "Info" to 0
  43.   hide card field "Info"
  44. end mouseUp
  45.  
  46.  
  47. -- part 44 (button)
  48. -- low flags: 80
  49. -- high flags: A000
  50. -- rect: left=47 top=191 right=236 bottom=105
  51. -- title width / last selected line: 0
  52. -- icon id / first selected line: 8538 / 8538
  53. -- text alignment: 1
  54. -- font id: 0
  55. -- text size: 12
  56. -- style flags: 0
  57. -- line height: 16
  58. -- part name: scriptView
  59. ----- HyperTalk script -----
  60. on mouseUp
  61.   go to stack "INTER SCSI:stack development:scriptView 1.11"
  62. end mouseUp
  63.  
  64.  
  65.  
  66. -- part 46 (field)
  67. -- low flags: 80
  68. -- high flags: 0000
  69. -- rect: left=166 top=58 right=128 bottom=512
  70. -- title width / last selected line: 0
  71. -- icon id / first selected line: 0 / 0
  72. -- text alignment: 0
  73. -- font id: 16
  74. -- text size: 12
  75. -- style flags: 0
  76. -- line height: 16
  77. -- part name: goScript
  78.  
  79.  
  80. -- part contents for card part 39
  81. ----- text -----
  82. scriptView‚Ñ¢  1.4 :                                                                                               Feb. 21,1988
  83. scriptView is a utility stack which lists all the objects and scripts of another stack in one field or text file.  This can be very helpful in understanding the structure and operation of the stack and the scripts it contains.  Much faster than poking into each button and card as they're found in the stack.  Operation of the target stack is suspended while the information is being read.
  84.  
  85. This is a shareware stack, if useful or informative send comments and $7.50 to:
  86.      Eldon Benz                                                            CompuServe ID 71101,3577
  87.      RR2 Box 318                            THANKS!               
  88.      Carbondale, IL  62901                                           CLICK anywhere to close this field.
  89. Updates and new stacks sent to registered users.
  90.  
  91.  ‚Ä¢  Scipt editing function provided on third card additional help there.
  92.  
  93.  ‚Ä¢ "Make Button"   makes a button to open scriptView from the home stack.  
  94.  
  95.  ‚Ä¢¬†"Begin"   moves to viewing card.
  96.  
  97.  ‚Ä¢¬†"View Script"   prompts for stack to open, reads scripts and puts them in the view field.  Output is to the screen but a permanent text file or printout can be made by clicking the appropriate button.
  98. Reading can take awhile on complex stacks.  Progress is noted in the message box and changing cards of the object stack.
  99. Fields won't hold more than 30,000 characters - that's a lot of scripts.  If scripts exceed field capacity  the first 30k will be shown with an option to create a text file with everything up to about 45k.  Unpredictable and unrecoverable memory problems          (read system BOMB) can develop beyond 45k.  I've set a limit (hopefully low enough to avoid problems) to cut off reading at this point and save the results.   To read larger stacks with complex scripts use "File Scripts"
  100.  
  101.  ‚Ä¢¬†"File Scripts"   avoids the memory and field length limitations by writing the information gathered directly to a text file on disk.  Then open the text file with a word processor.  The only limitation is disk space and a little extra time.  The first 30k will still be displayed on screen. 
  102.  
  103. ‚Ä¢ "Hide/Show Cards"  To stop viewing of object stack's cards click "Hide Cards". May be a little faster?  Button changes to "Show Cards" which changes back to viewing cards.
  104.  
  105. ‚Ä¢ Text Files will be saved to the disk and folder designated in the standard file dialog used to create the text file.  Opening an existing file will destroy the original contents.
  106.  
  107. ‚Ä¢ "Open Text File" opens an existing text file to the view field.
  108.  
  109. ‚Ä¢ "Deprotect A Stack" will prompt for a stack, then (if possible) remove any password for that stack and set the maximum access level back to Scripting.  Use a copy for safety.  This button is provided in the interests of those who somehow forget the password assigned to a stack.
  110. Scripts can be read with scriptView without deprotecting the stack.
  111. Thanks to Ned Horvath and Allan Foster for this "XCMD".
  112.  
  113. This is a shareware stack, if useful or informative send comments and $7.50 to:
  114.      Eldon Benz
  115.      RR2 Box 318                            THANKS!
  116.      Carbondale, IL  62901
  117.                                     Copyright ¬© Oct 28,1987 by Eldon Benz
  118.  
  119. Thanks to Steve Maller at Apple for creating the "XFCN" for standard file interface.
  120. Thanks to Andrew Gilmartin at Brown University for creating the "XFCN" for standard put file interface.
  121. Thanks to Mark Scherfling  for creating  the PrintField XCMD.
  122.  
  123.  
  124.  
  125. -- part contents for background part 32
  126. ----- text -----
  127. ELDON BENZ RR2 BOX 318 CARBONDALE IL 62901 SEPT 20,1987
  128.  
  129. -- part contents for card part 46
  130. ----- text -----
  131. on mouseUp
  132. go to stack "INTER SCSI:stack development:scriptView 1.11"
  133. end mouseUp
  134.